package com.woniuxy.controller;

import com.woniuxy.service.SysLogService;
import com.woniuxy.util.DataGridView;
import com.woniuxy.vo.SysLogVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SysLogController {
    @Autowired
    private SysLogService sysLogService;
    @GetMapping("/sysLogs.do")
    public DataGridView getAllsysLogs(SysLogVo sysLogVo){

        return sysLogService.findAllsysLogs(sysLogVo);
    }

}
